package database;

/**
 *
 * @author X.B.L
 */
/**
 *
 * @author satkins
 */
public class Item {

    private String upc;
    private String itemName;
    private String description;
    private String make;
    private String model;
    private double price;
    private String imgURL;

    public Item(String upc, String name, String description,
                String make, String model, double price, String imgURL){
        this.upc = upc;
        this.itemName = name;
        this.description = description;
        this.make = make;
        this.model = model;
        this.price = price;
        this.imgURL = imgURL;
    }

    public String getDescription() {
        return description;
    }

    public String getItemName() {
        return itemName;
    }

    public String getMake() {
        return make;
    }

    public String getModel() {
        return model;
    }

    public double getPrice() {
        return price;
    }

    public String getUpc() {
        return upc;
    }

    public String getImgURL() {
      return imgURL;
    }

    public String toString(){
        String str = "";
        str = itemName + " - $" + price + "\n" + description + "\n";
        return str;
    }


}

